#include <stdio.h>
#define LUA_LDIR        "!\\lua\\"
#define LUA_CDIR        "!\\"
#define LUA_PATH_DEFAULT  \
                LUA_LDIR"?.lua;"  LUA_LDIR"?\\init.lua;" \
                LUA_CDIR"?.lua;"  LUA_CDIR"?\\init.lua;" ".\\?.lua"
#define LUA_CPATH_DEFAULT \
                LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll;" ".\\?.dll"

#define luai_writestring(s,l)   fwrite((s), sizeof(char), (l), stdout)
#define luai_writeline()        (luai_writestring("\n", 1), fflush(stdout))

#include<string.h>
int main(int argc, char *argv[])
{
	printf("%s\n",LUA_CPATH_DEFAULT);
	printf("%s\n",LUA_PATH_DEFAULT);
	printf("%s\n","!\\""?.dll;" "?.dll;");
	char *s="1212121" "2342343242";
	char *s1="11111";
	char *s2=s+strlen(s);
	ptrdiff_t d=s2-s;
	printf("%d\n",strlen(s1));
	printf("%d\n",sizeof(*s1));
	printf("%d\n",d);
	luai_writeline();
	return 0;
}
